package com.corejava.training.collections.car.pre15.immutable;

public class SchoolImmutable {

	// instance variables
	private String name;
	private String city;
	private String schoolDistric;
	private int greatSchoolRanking;

	// getters
	public String getName() {
		return name;
	}

	public String getCity() {
		return city;
	}

	public String getSchoolDistric() {
		return schoolDistric;
	}

	public int getGreatSchoolRanking() {
		return greatSchoolRanking;
	}
	
	// constructor that passes arguments/attributes
	public SchoolImmutable(String n, String c, String sd, int gsr){
		this.name = n;
		this.city = c;
		this.schoolDistric = sd;
		this.greatSchoolRanking = gsr;
	}

}// end of class
